(deftemplate question
    (slot idQuestion)
    (slot sQuestion)
)

(deftemplate nextQuestion
    (slot idQuestion)
    (slot raspuns)   
)

(deftemplate choice
    (slot source)
    (slot destination)
    (slot answer)
    (slot visited)
)

(assert (question (idQuestion 1)(sQuestion "Este Animal mare?")))
(assert (question (idQuestion 2)(sQuestion "Mananca alune?")))
(assert (question (idQuestion 3)(sQuestion "Mananca soareci?")))
(assert (question (idQuestion 4)(sQuestion "Stie sa innoate?")))
(assert (question (idQuestion 5)(sQuestion "Este ierbivor?")))
(assert (question (idQuestion 6)(sQuestion "Apara casa?")))

(assert (nextQuestion (idQuestion 1)(raspuns "DA")))

(assert (choice (source 1)(destination 2) (answer "DA") (visited false)))
(assert (choice (source 2)(destination "PISICA") (answer "DA") (visited false)))